package com.whalehearing.tingyou.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.whalehearing.tingyou.dto.FitTechnicianEvaluateDTO;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author: shensh
 * @Desc:
 * @create: 2024-11-01 20:34
 **/
@Data
public class StoreEvaluateVo {

    /** 评价id */
    private Long evaluateId;

    /** 门店id */
    private Long storeId;

    private String storeName;

    private String username;

    /** 评价用户id */
    private Long uid;

    private String avatar;

    /** 总分 */
    private Integer  totalScore;

    /** 服务评分 */
    private Integer  serviceScore;

    /** 设施评分 */
    private Integer deviceScore;

   private List<FitTechnicianEvaluateDTO> technicianEvaluates;

    /** 评价内容 */
    private String content;

    private Integer readCount;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /** 标签 */
    private List<String> tagNameList;

    /** 图片资源 */
    private List<String> mediaList;

    /**
     * 是否点赞
     */
    private boolean hasThumbUp;

    /**
     * 点赞数
     */
    private int collectionCount;

    /**
     * 评论数
     */
    private int commentCount;

    /**
     * 是否回复
     */
    private Integer isReply;

    /**
     * 0为普通用户  1官方账号 2马甲虚拟用户 3商家端用户
     */
    private Integer type;

}

